package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.time.Year;

/**
 * @version 1.0.0
 * @title: ProvinceProduce
 * @author: HFLy
 * @description:
 * @date: 6/3/2023 下午1:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_province_produce_data")
public class ProvinceProduce {
    @TableId(type = IdType.AUTO)
    private Integer PProduceId;
    //作物
    private String type;
    //省份
    private String province;
    //年份
    private Year year;
    //播种面积（千公顷）
    private Float areaSeed;
    //产量（万吨）
    private Float yieldTotal;
    //平均单产（千克/亩）
    private Float yieldUnit;
    //作物编码
    private String varietyCode;
    //省份编码
    private String provinceCode;

}
